package com.xu.service.center;

import com.xu.pojo.OrderItems;
import com.xu.pojo.Orders;
import com.xu.pojo.bo.center.OrderItemsCommentBO;
import com.xu.utils.PagedGridResult;

import java.util.List;

/**
 * @author anan
 * @create 2022-01-17 17:15
 */
public interface MyCommentsService {
    /**
     * 根据订单id查询关联的商品
     * @param orderId
     * @return
     */
    public List<OrderItems> queryPendingComment(String orderId);

    public void saveComments(String orderId, String userId, List<OrderItemsCommentBO> commentList);

    public PagedGridResult queryMyComments(String userId, Integer page, Integer pageSize);
}
